projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6770d65
)
cdefs.h: Introduce '__deprecated' macro
author
Soren Brinkmann
<
[email protected]
>
Thu, 14 Jan 2016 17:56:06 +0000
(09:56 -0800)
committer
Soren Brinkmann
<
[email protected]
>
Thu, 14 Jan 2016 18:55:17 +0000
(10:55 -0800)
Introduce a macro to mark functions as deprecated.
Signed-off-by: Soren Brinkmann <
[email protected]
>
include/stdlib/sys/cdefs.h
patch
|
blob
|
history
diff --git
a/include/stdlib/sys/cdefs.h
b/include/stdlib/sys/cdefs.h
index 16fb1519055e2eb892f149e39fed63cf0fcbad86..e6960f68a0ee0a6f78f4d8c6352ddc473ec80684 100644
(file)
--- a/
include/stdlib/sys/cdefs.h
+++ b/
include/stdlib/sys/cdefs.h
@@
-283,8
+283,10
@@
#if __GNUC_PREREQ__(3, 1)
#define __noinline __attribute__ ((__noinline__))
+#define __deprecated __attribute__ ((deprecated))
#else
#define __noinline
+#define __deprecated
#endif
#if __GNUC_PREREQ__(3, 3)